package com.model;
import javax.persistence.*;
import java.util.Date;
import java.math.BigDecimal;
/**
* @author admin
* @date 
*/
@Entity
@Table(name="t_employee",schema = "", catalog = "")
public class TEmployee{
        private Long id;
        private String name;
        private Integer sex;
        private String email;
        private Long orgId;
        private String position;
        private Date joinTime;
        private Integer status;
        private Date createTime;
        private Integer isDeleted;

        @Id
        @GeneratedValue(strategy = GenerationType.AUTO)
        @Column(name = "id")
        public Long getId() {
        return this.id;
        }

        public void setId(Long id) {
        this.id = id;
        }


        @Column(name = "name")
        public String getName() {
        return this.name;
        }

        public void setName(String name) {
        this.name = name;
        }



        @Column(name = "sex")
        public Integer getSex() {
        return this.sex;
        }

        public void setSex(Integer sex) {
        this.sex = sex;
        }
        @Column(name = "email")
        public String getEmail() {
        return this.email;
        }

        public void setEmail(String email) {
        this.email = email;
        }


        @Column(name = "org_id")
        public Long getOrgId() {
        return this.orgId;
        }

        public void setOrgId(Long orgId) {
        this.orgId = orgId;
        }


        @Column(name = "position")
        public String getPosition() {
        return this.position;
        }

        public void setPosition(String position) {
        this.position = position;
        }


        @Column(name = "join_time")
        public Date getJoinTime() {
        return this.joinTime;
        }

        public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
        }



        @Column(name = "status")
        public Integer getStatus() {
        return this.status;
        }

        public void setStatus(Integer status) {
        this.status = status;
        }
        @Column(name = "create_time")
        public Date getCreateTime() {
        return this.createTime;
        }

        public void setCreateTime(Date createTime) {
        this.createTime = createTime;
        }



        @Column(name = "is_deleted")
        public Integer getIsDeleted() {
        return this.isDeleted;
        }

        public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
        }

}